﻿/*----------------------------------------------------------------
// Copyright (C) 2016 通通优品版权所有。
// 命名空间: STOWaybillMall.Orders.Dto
// 类名：SubmitOrderInput
// 功能描述：N/A
// 
// 创建标识：Roc.Lee(李鹏鹏) 2017/8/8 18:58:08 TEC-ROCLEE Roc.Lee

// 修改标识：
// 修改描述：
// 
//
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Application.Services.Dto;

namespace STOWaybillMall.Orders.Dto
{
    /// <summary>
    /// 提交订单
    /// </summary>
    public class SubmitOrderInput : IInputDto
    {
        /// <summary>
        /// 买家留言
        /// </summary>
        public string LeaveMsg { get; set; }
        /// <summary>
        /// 用户收货标识
        /// </summary>
        public long UserReceiptID { get; set; }
        /// <summary>
        /// 使用账户余额
        /// </summary>
        public decimal UseBalance { get; set; }
        /// <summary>
        /// 商品
        /// </summary>
        public IList<ProductInfo> Products { get; set; }
        /// <summary>
        /// 购物信息
        /// </summary>
        public class ProductInfo
        {

            /// <summary>
            /// 标识
            /// </summary>
            public Guid CartID { get; set; }
            /// <summary>
            /// 商品标识
            /// </summary>
            public long ProductID { get; set; }
            /// <summary>
            /// 购买数量
            /// </summary>
            public int BuyCount { get; set; }
        }
    }
}
